package com.cuit.zuke.hotel.repository;


import com.cuit.zuke.hotel.model.hotel.Hotel;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HotelRepository extends MongoRepository<Hotel,String> {
    Hotel getHotelByZkcode(String zkcode);

    List<Hotel> findHotelByZknameLike(String zkname);
}

